auto merge of #997 : alexcrichton/cargo/issue-993-attempt, r=brson
authorbors <bors@rust-lang.org>
Wed, 3 Dec 2014 22:14:13 +0000 (22:14 +0000)
committerbors <bors@rust-lang.org>
Wed, 3 Dec 2014 22:14:13 +0000 (22:14 +0000)
If a submodule's head commit doesn't exist, then we should attempt to update it
rather than aborting the updating process. This commit moves a local `try!` into
a `and_then` closure to prevent returning from the outer function to hopefully
catch more cases where the submodule needs to be updated.

cc #993, but I'm not sure if this fixes it

1  2 
src/cargo/sources/git/utils.rs

Simple merge